package com.lhsy.djcloud.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 活动相关的表
 * </p>
 *
 * @author wangzw
 * @since 2020-11-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dj_advice")
public class Advice implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer tenantId;

    /**
     * 活动类型1=会议 2=党课 3=活动 4=动态
     */
    private Integer type;

    private Integer sendUserId;

    /**
     * 成员
     */
    private String member;

    private String title;

    private String content;

    /**
     * 级别
     */
    private Integer level;

    /**
     * 状态 草稿状态 发送状态
     */
    private Integer status;

    private String fileName;

    private String sha1;
    private Date submitTime;
    private Date createTime;

    private String createName;
    @TableField(exist = false)
    private String memberStr;

    @TableField(exist = false)
    private String filePath;
}
